﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-language" content="zh-CN" />
    <title>测试页面</title>
    <link rel="stylesheet" type="text/css"  href="/general/testzs/public/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css"  href="/general/testzs/public/static/layui/css/customer.css">

</head>
<body>
<h1>欢迎 {$data.user_name}</h1>
<table id="demo" lay-filter="test"></table> 

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-mini" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-mini" lay-event="del">删除</a>
</script>

<script type="text/html" id="addrenwu">
    <form id="addrenwuForm" lay-filter="addrenwuForm"  class="layui-form model-form">
        <input name="userId" type="hidden"/>
        <div class="layui-inline layui-col-md6 addrwinput">
            <label class="layui-form-label">名称:</label>
            <div class="layui-input-block">
                <input name="test_name" id="test_name" placeholder="编辑名称" class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>

        <div class="layui-inline layui-col-md6 addrwinput">
            <label class="layui-form-label">城市:</label>
            <div class="layui-input-block">
                <select name="city" id="city" lay-verify="required">
                </select>
            </div>
        </div>
        <input type="hidden" name="test_id" id="test_id">

        <div class="layui-form-item text-right">
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
            <button class="layui-btn" lay-filter="modelSubmitUser" type="submit" lay-submit>修改</button>
        </div>
    </form>
</script>



<form class="layui-form" action="">

    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input type="text" name="test_name" required  lay-verify="required" placeholder="请输入名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">选择框</label>
        <div class="layui-input-block">
            <select name="city"  lay-verify="required">
                <option value=""></option>
                <option value="北京">北京</option>
                <option value="上海">上海</option>
                <option value="广州">广州</option>
                <option value="深圳">深圳</option>
                <option value="杭州">杭州</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

</body>
<script charset="utf-8" src="/general/testzs/public/static/layui/layui.all.js" ></script>
<script charset="utf-8" src="/general/testzs/public/static/layui/trip/jquery.min.js"></script>
<script charset="utf-8" src="/general/testzs/public/static/layui/trip/index/index.js?v=2" ></script>
</html>
